package com.zfy.tingshu.user.service;

import com.zfy.tingshu.model.user.UserInfo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zfy.tingshu.vo.user.UserInfoVo;

import java.util.List;
import java.util.Map;

public interface UserInfoService extends IService<UserInfo> {

    Map<String, Object> wxLogin(String code);

    UserInfoVo getUserInfoVoByUserId(Long userId);

    /**
     * 判断用户是否购买声音列表
     * @param albumId
     * @param trackIdList
     * @param userId
     * @return
     */
    Map<Long, Integer> userIsPaidTrack(Long albumId, List<Long> trackIdList, Long userId);
}
